package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;

import static org.jsola.hr.example.TransferAccountsBatchExample.*;

/**
 * 重新发起  转账批次
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "重新发起【转账批次】的参数")
@Data
public class TransferAccountsBatchAgainAddDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "批次id")
    @NotNull(message = "批次id不能为空")
    private String batchId;

    @ApiModelProperty(notes = N_ORDER_TITLE, example = E_ORDER_TITLE)
    @Length(max = 64, message = M_ORDER_TITLE_MAX)
    @NotNull(message = "批次名称不能为空")
    private String orderTitle;

    @ApiModelProperty(notes = N_REMARK, example = E_REMARK)
    @Length(max = 256, message = M_REMARK_MAX)
    private String remark;




}

